/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package org.is.city;

import java.awt.event.ActionEvent;
import javax.swing.AbstractAction;
import org.geotools.swing.JMapPane;
import org.geotools.swing.action.MapAction;

/**
 *
 * @author oleg
 */
public class MouseNullCursor extends AbstractAction{
    JMapPane mapPane;

    public MouseNullCursor(JMapPane mapPane) {
        super();
        this.mapPane = mapPane;
    }

    @Override
    public void actionPerformed(ActionEvent e) {
        mapPane.setCursorTool(new MyCursor(mapPane));
    }



}
